from django.db import models


class File(models.Model):
    email = models.EmailField(max_length=254, unique=False, verbose_name="邮箱")
    path = models.TextField(max_length=254, unique=True, verbose_name="文件地址")
    name = models.TextField(max_length=254, unique=False,null="未设置文件名" ,verbose_name="文件名")
    filetype = models.TextField(max_length=254, unique=False,null="未知类型",verbose_name="文件类型")